<?
class Admin_manager extends CI_Model{

	public function __construct(){
		$this->load->database();
	}
	//更新官网管理
	public function updata_Manager($data){

		$res = $this->db->update_string('w3a_manager',$data);
		return $res->affected_rows();
	} 

	//获取网站信息
	public function getMes(){
		$res = $this>db->query('select * from w3a_manager');
		return $res->result();
	}


}
?>